package com.yhy.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yhy.domain.BasePojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_announcement")
public class AnnouncementVo extends BasePojo {

    private String id;
    private String title;
    private String description;
//    @JSONField(format = "yyyy-MM-dd HH:mm:ss")

    @TableId(value = "created")
//    @JsonFormat(pattern = "yyyy-MM-dd HH时",timezone = "GMT+1")
    private String createDate;
}
